<%@ include file="/WEB-INF/views/includes.jsp"%>
<%@ page session="false"%>
<%@ page isELIgnored="false"%>
<html>
<head>
<title>Home</title>

<link rel="stylesheet" type="text/css" href="/resource/css/default.css" />


</head>
<body>

	<h1 >Create a new category</h1>
 
	
	<form:form method="post" modelAttribute="category" action="addCategory.do">
 
    <table class="dataform">
    <tr>
        <td><form:label path="category_name">category_name</form:label></td>
        <td><form:input path="category_name" /><form:errors path="category_name" /></td>
    </tr>
    <tr>
        <td><form:label path="domain_id">domain_id</form:label></td>
        <td><form:input path="domain_id" /><form:errors path="domain_id" /></td>
    </tr>
    <tr>
        <td><form:label path="parent_category_id">parent_category_id</form:label></td>
        <td><form:input path="parent_category_id" /><form:errors path="parent_category_id" /></td>
    </tr>
    <tr>
        <td colspan="2">
            <input type="submit" value="Add Category"/>
        </td>
    </tr>
</table> 
     
</form:form>

</body>
</html>
